#include "TreeComparator.h"

TreeComparator::TreeComparator(BRIC* bric) {
    this->bric = bric;
}

bool TreeComparator::operator() (Node* treeA, Node* treeB) {
    return bric->score(treeA) < bric->score(treeB);
}
